<template>
  <div>
    <el-tree 
    :data="treedata" 
    :props="defaultProps">
    </el-tree>
  </div>
</template>

<script>
import {} from '@/api/module/system-unit'
import {get, find} from 'lodash'
import cementTable from '@/components/cement-table'

export default {
  name: 'index',
  components: {
     cementTable
  },
  data () {
    return {
      treedata:[],
      defaultProps: {
          children: 'children',
          label: 'label'
      },
      methods: {
        getDate(){
          Getdata_dict().then((res) => {
            this.treedata = res.data
          }).catch((err) => {
            this.$message.error(err.message)
          })
        },
      }
    }
  },
}
</script>
